package com.solin.blog.service.impl;

import com.solin.blog.dao.entity.UserEntity;
import com.solin.blog.dao.mapper.UserMapper;
import com.solin.blog.service.BlogTestService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author solin
 * @description TestServiceImpl
 * @since 2021/12/27 14:28
 */
@Service
public class BlogTestServiceImpl implements BlogTestService {
    @Resource
    private UserMapper userMapper;

    @Override
    public String hello() {
        UserEntity userEntity = userMapper.selectBlogById(1L);
        return userEntity.toString();
    }

    @Override
    public String hi() {
        return ">>>>>>>>>>>>>>>hi>>>>>>>>>>>>>>>>>>>";
    }
}
